package com.sjqg.model;

public class Address {
	private String  id ;
    private String  name ;;
    private String  phone ;
    private String  province ;
    private String  city ;
    private String  detailAddress ;
    private User user;
	public Address() {
	}
	public Address(String id, String name, String phone, String province, String city, String detailAddress,
			User user) {
		super();
		this.id = id;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.detailAddress = detailAddress;
		this.user = user;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getDetailAddress() {
		return detailAddress;
	}
	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	@Override
	public String toString() {
		return "Address [id=" + id + ", name=" + name + ", phone=" + phone + ", province=" + province + ", city=" + city
				+ ", detailAddress=" + detailAddress + ", user=" + user + "]";
	}
}
